<?php

/**
 * News form.
 *
 * @package    cadsurvey
 * @subpackage form
 * @author     sharavdorj
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class NewsForm extends BaseNewsForm
{
  public function configure()
  {
  	unset($this['created_at'],$this['updated_at'],$this['user']);
  	$this->embedI18n(array('mn', 'en'));
		    $this->widgetSchema->setLabel('en', 'English');
		    $this->widgetSchema->setLabel('mn', 'Mongolian');	
			//$this->widgetSchema['user']	= new sfWidgetFormInputText(array(),array('value'=>'current_user','readonly'=>'true'));
  }
}
